<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>@yield('title') - {{$systeminfo['site_name']}}</title>
<meta name="description" content="{{$systeminfo['description']}}">
<meta name="keywords" content="{{$systeminfo['keywords']}}">
<style type="text/css">
    .jyzfoot_ul{margin:0px auto;width:100%;height:45px;background: white;border-top:1px solid #ececec;border-bottom:1px solid #ececec;}
    .jyzfoot_ul ul{width:500px;}
    .jyzfoot_ul ul li{float:left;letter-spacing: 1px;margin:0px 20px;line-height:45px;};
</style>
<link href="{{ asset('/addons/flatui/css/flat-ui.css') }}" rel="stylesheet">
<link href="{{ asset('/addons/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
<link href="{{ asset('/addons/bootstrap-dialog/css/bootstrap-dialog.min.css') }}" rel="stylesheet" type="text/css" />
<!-- Fonts -->
<link href="{{ asset('/js/Font-Awesome-3.2.1/css/font-awesome.min.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/front.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/style.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/posting.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/swiper.min.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/accord.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('css/employ/list.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('css/employ/index.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/css/common/jPages.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/common/animate.min.css') }}" rel="stylesheet" type="text/css">
<script src="{{ asset('/js/jquery-2.1.4.min.js') }}"></script>
<!--[if lt IE 9]>
<script src="{{ asset('/js/jquery-1.8.3.min.js') }}"></script>
<![endif]-->
<script src="{{ asset('/addons/flatui/js/flat-ui.min.js') }}"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak={{$baidukey}}"></script>
<script type="text/javascript"src="{{ asset('/addons/layer/layer.js')}}"></script>
<script type="text/javascript" src="{{ asset('/js/common/jPages.js') }}"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="{{ asset('/js/html5shiv.min.js') }}"></script>
    <script src="{{ asset('/js/respond.min.js') }}"></script>
    <![endif]-->
<script src="{{ asset('/addons/bootstrap/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('/addons/bootstrap-dialog/js/bootstrap-dialog.min.js') }}"></script>
<script src="{{ asset('/js/unslider.min.js') }}"></script>
<script src="{{ asset('/js/community.js') }}"></script>
<script src="{{ asset('/js/jquery.SuperSlide.2.1.1.js') }}"></script>
<script src="{{ asset('/laravel-u-editor/third-party/zeroclipboard/ZeroClipboard.js') }}"></script>
<script src="{{ asset('/js/swiper.min.js') }}"></script>
{{--@include('ueditor::head')--}}
@include('UEditor::head')
<script src="{{ asset('/js/common.js') }}"></script>
<script src="{{ asset('/js/common/common.js') }}"></script>
 @if(str_contains(Request::getRequestUri(),'teaches'))
<link rel="stylesheet" type="text/css" href="{{ asset('/css/teaches/jyz.css') }}" />
@endif

</head>
<body>
    <div class="container" style="width:100%;padding:0;">
        @section('header')
        <div class="header">
            <div class="header-main">
                <div class="logo float-l">
                    <a href="{{ url('/') }}">
                        <img src="{{asset('/images/front/sy/logo.png')}}">
                    </a>
                </div>
                <div id="nav" class="col-xs-6 header-content common-header float-l">
                    <div class="header-nav-title">
                        <ul>
                            <li>
                                <div>
                                    <a href="/">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;首页</a>
                                </div>
                            </li>
                            <li>
                                <div>
                                    <a href="{{ url('/employ') }}">就业指南</a>
                                </div>
                            </li>
                            <li>
                                <div>
                                    <a href="{{ url('/teaches') }}">充电加油</a>
                                </div>
                            </li>
                            <li>
                                <div>
                                    <a href="{{ url('/company') }}">企业招聘</a>
                                </div>
                            </li>
                            <li>
                                <div>
                                    <a href="{{url('/bbs')}}">青苜社区</a>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
                @if(str_contains(Request::getRequestUri(),'teaches'))
                <div class="search-div-show clickAlert float-l">
                    <a href="javascript:void(0)"><img src="{{ asset('/images/front/jyz/Q.png') }}"></a>
                </div>
                @endif
                <div class="header-user float-r margin-r-40">
                    <div class="user-icon float-l">
                        @if(!empty($authuser))
                        <img src="{{ userlogo($authuser->id,'small') }}" alt="">
                        @else
                        <img src="{{asset('/images/front/sy/geren.png')}}" alt="">
                        @endif
                    </div>
                    <div class="down-trip float-r">
                        <img src="{{asset('/images/front/sy/xiala.png')}}" alt="">
                    </div>
                    @if(!empty($authuser))
                    @if($authuser->group_id == 3)
                    <ul class="dropdown-menu-user">
                        <li><a href="{{url('/member/resume')}}"><i class="icon-user"></i>&nbsp;&nbsp;我的简历</a></li>
                        <li class="bodertop"><a href="{{url('/member/delivery')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;我的工作</a></li>
                        <li class="bodertop"><a href="{{url('/member/index')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;我的上传</a></li>
                        <li class="bodertop"><a href="{{url('/member/comments/index')}}"><i class="icon-comments"></i>&nbsp;&nbsp;我的评论</a></li>
                        <li class="bodertop">
                            <a href="{{url('/member/message')}}">
                                <i class="icon-envelope-alt"></i>&nbsp;&nbsp;我的私信
                                <span class="badge">{{ $unread?:'' }}</span>
                            </a>
                        </li>
                        <li class="bodertop"><a href="{{url('/member/account')}}"><i class="icon-cogs"></i>&nbsp;&nbsp;账号设置</a></li>
                        <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                    </ul>
                    @elseif($authuser->group_id == 2)
                    <ul class="dropdown-menu-user">
                        <li><a href="/company/center"><i class="icon-user"></i>&nbsp;&nbsp;企业管理</a></li>
                        <li class="bodertop"><a href="/company/center/jobs-all"><i class="icon-folder-close"></i>&nbsp;&nbsp;全部职位</a></li>
	                    <li class="bodertop"><a href="/company/center/resume-all"><i class="icon-upload-alt"></i>&nbsp;&nbsp;全部简历</a></li>
	                    <li class="bodertop"><a href="/company/center/comments-all"><i class="icon-comments"></i>&nbsp;&nbsp;全部评论</a></li>
	                    <li class="bodertop"><a href="/company/center/message"><i class="icon-envelope-alt"></i>&nbsp;&nbsp;全部私信<span class="badge">{{ $unread?:'' }}</span></a></li>
	                    <li class="bodertop"><a href="/company/center/companyinfo-default"><i class="icon-cogs"></i>&nbsp;&nbsp;企业信息</a></li>
                        <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                    </ul>
                    @elseif($authuser->group_id == 1)
                    <ul class="dropdown-menu-user">
                        <li><a href="{{url('/member/resume')}}"><i class="icon-user"></i>&nbsp;&nbsp;我的简历</a></li>
                        <li class="bodertop"><a href="{{url('/member/delivery')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;我的工作</a></li>
                        <li class="bodertop"><a href="{{url('/member/index')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;我的上传</a></li>
                        <li class="bodertop"><a href="{{url('/member/comments/index')}}"><i class="icon-comments"></i>&nbsp;&nbsp;我的评论</a></li>
                        <li class="bodertop"><a href="{{url('/member/message')}}"><i class="icon-envelope-alt"></i>&nbsp;&nbsp;我的私信<span class="badge">{{ $unread?:'' }}</span></a></li>
                        <li class="bodertop"><a href="{{url('/member/account')}}"><i class="icon-cogs"></i>&nbsp;&nbsp;账号设置</a></li>
                        <li class="bodertop"><a href="/admin/index"><i class="icon-cogs"></i>&nbsp;&nbsp;后台管理</a></li>
                        <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                    </ul>
                    @endif
                    @endif
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
        <script type="text/javascript" language="javascript">
        $(function(){
            alertContent(".clickAlert",".alertDiv",".alertClose");
            function alertContent(LeanA,LeanB,LeanC){
                $(LeanB).hide();
                $(LeanA).click(function(){
                    $("#nav").addClass('alertdiv');
                    $("#nav li").addClass('currno');
                    $(LeanB).fadeIn(200); 
                });
                $(LeanC).click(function(){
                	$("#nav").removeClass('alertdiv');
                    $("#nav li").removeClass('currno');
                    $(LeanB).fadeOut(200); 
                });
        	}
        })
    	</script>
        @show

        <!-- 内容 -->
        @yield('content')
    </div>
    <!-- 底部 -->
    @section('footer')
    <div class="footer">
        <div class="footer-icon">
            <div class="footer-icon-share">
                <img src="/images/front/newweibo.png">
                <img src="/images/front/newweixin.png" class="margin-l-30">
            </div>
        </div>
        <div class="footer-links">
            <ul>
                <li><a href="#">关于我们</a></li>
                <li><a href="#">合作加盟</a></li>
                <li><a href="#">联系我们</a></li>
                <li><a href="#">新闻</a></li>
                <li><a href="#">友情链接</a></li>
                <dvi class="clearfix"></dvi>
            </ul>
        </div>
        <div class="footer-copy">
            <span>&copy;2015 Cimers 使用青苜前必读 {{$systeminfo['icp_beian']}}</span>
        </div>
    </div>
    @show
    <script type="text/javascript">
		$(function(){
			$('#nav ul').find('li').attr('class', 'curr').removeClass('curr');
	        $('#nav ul li').eq('{{$nav}}').attr('class', 'curr');
		});
    </script>
<!--弹出透明框开始-->

<div class="alertDiv" style="display:none">  
    <div class="jyz_seekdiv">
        <div class="seekdiv_top">
            <div class="bgnav">
                <ul>
                   
                </ul>
            </div>
            <div class="alertClose"><img src="{{ asset('/images/front/jyz/X.png') }}"></div>
        </div>
        <div class="jyz_seek">
            <input type="text" name="search" class="inp_key">
            <img src="{{ asset('/images/front/jyz/fdj.png') }}">
        </div>
        <div class="jyz_navdiv">
            <div class="jyz_navlist">
                <p>平面设计</p>
                <p>UI/UX设计</p>
                <p>网页设计</p>
                <p>iOS系统开发</p>
            </div>
            <div class="jyz_navlist">
                <p>平面设计</p>
                <p>UI/UX设计</p>
                <p>网页设计</p>
                <p>iOS系统开发</p>
            </div>
            <div class="jyz_navlist">
                <p>平面设计</p>
                <p>UI/UX设计</p>
                <p>网页设计</p>
                <p>iOS系统开发</p>
            </div>
            <div class="jyz_navlist">
                <p>平面设计</p>
                <p>UI/UX设计</p>
                <p>网页设计</p>
                <p>iOS系统开发</p>
            </div>
        </div>
    </div>
    
</div>
</body>
</html>